package com.zzyl.mapper;

import com.zzyl.entity.NursePlan;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NursingProjectMapper {


    List<NursingProject> selectByPage(String name, Integer status);

    void add(NursingProject nursingProject);

    NursingProjectVo selectById(Integer id);

    void delete(Integer id);

    void choice(Integer id, Integer status);

    void update(NursingProject nursingProject);

    @Select("select * from  nursing_project")
    List<NursingProjectVo> selectAll();

}
